package com.guochao.mall.dao;

import com.guochao.mall.pojo.Category;

import java.util.List;

public interface CategoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    List<Category> selectAll();

//    @Select("select * from mall_category where name = #{pro_name}")
//    int selectByName(@Param("pro_name") String name);
}